* {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
button {
  outline: none;
}
a {
  text-decoration: none;
}
.success {
  position: fixed;
  bottom: 50%;
  left: 12%;
  width: 76%;
  height: 40px;
  color: #8e8e8e;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1000;
  border: 1px solid #F4E8F9;
  opacity: 0;
  display: none;
  transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  /* Firefox 4 */
  -webkit-transition: opacity 0.5s;
  /* Safari 和 Chrome */
  -o-transition: opacity 0.5s;
}
.success p {
  line-height: 40px;
  text-align: center;
}
.altcontent {
  position: fixed;
  display: none;
  width: 76%;
  height: 32%;
  top: 20%;
  left: 12%;
  border-radius: 10px;
  background: #fff;
  z-index: 1000;
  text-align: center;
}
.altcontent b {
  color: #f60;
  font-weight: normal;
}
.altcontent i {
  color: #f00;
  font-style: normal;
}
.altcontent img {
  height: 64%;
  margin: 16px;
}
.altcontent p {
  text-align: center;
  line-height: 24px;
}
.altcontent h3 {
  font-weight: normal;
  font-size: 14px;
  text-align: left;
  text-indent: 5%;
  line-height: 30px;
}
.altcontent h3:first-child {
  margin-top: 16%;
}
.altcontent button {
  display: block;
  position: absolute;
  color: #fff;
  left: 20%;
  bottom: 10%;
  width: 60%;
  height: 16%;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  background: -webkit-linear-gradient(left, #fd88bc, #c085f0);
  /* Safari 5.1 to 6.0 */
  background: -o-linear-gradient(right, #fd88bc, #c085f0);
  /* Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(right, #fd88bc, #c085f0);
  /* Firefox 3.6 to 15 */
  background: linear-gradient(to right, #fd88bc, #c085f0);
  /* 标准语法 */
}
.alertbody {
  display: none;
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 900;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.6);
}
.linearbg {
  background: #cdace8;
  /* 一些不支持背景渐变的浏览器 */
  background: -moz-linear-gradient(top, #e7dbf0, #cb86e6);
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#e7dbf0), to(#cb86e6));
  background: -o-linear-gradient(top, #e7dbf0, #cb86e6);
  height: auto;
  padding-bottom: 50px;
}
.linearbg div {
  z-index: 10;
}
.navbar {
  z-index: 500;
  display: flex;
  position: fixed;
  left: 0;
  bottom: 0;
  height: 48px;
  width: 100%;
  background: #f3f3f3;
  background: -moz-linear-gradient(top, #f3f3f3, #fff);
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#f3f3f3), to(#fff));
  background: -o-linear-gradient(top, #f3f3f3, #fff);
}
.navbar a {
  flex: 1;
  display: inline-block;
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: #969696;
}
.navbar a:first-child {
  text-indent: 16px;
}
.navbar .home-on {
  background: url(../img/home-on.png) no-repeat 24px center;
  background-size: 24px;
  color: #d086e3;
}
.navbar .home {
  background: url(../img/home.png) no-repeat 24px center;
  background-size: 24px;
}
.navbar .apply {
  background: url(../img/aplay.png) no-repeat 20px center;
  background-size: 22px;
}
.navbar .apply-on {
  background: url(../img/apply-on.png) no-repeat 20px center;
  background-size: 22px;
  color: #d086e3;
}
.navbar .vote {
  background: url(../img/vote.png) no-repeat 4px center;
  background-size: 22px;
  text-indent: 10px;
}
.navbar .vote-on {
  background: url(../img/vote-on.png) no-repeat 4px center;
  background-size: 22px;
  color: #d086e3;
  text-indent: 10px;
}
.countdown {
  height: auto;
  width: 100%;
  vertical-align: top;
  position: relative;
}
.countdown img {
  margin-top: -10px;
  width: 100%;
  vertical-align: inherit;
  pointer-events: none;
}
.countdown p {
  display: block;
  position: absolute;
  top: 50%;
  margin-top: -15px;
  left: 0;
  width: 100%;
  height: auto;
  text-align: center;
  color: #fff;
}
.countdown p:before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 20px;
  margin-top: -1px;
}
.countdown p:after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -1px;
}
#leafContainer {
  position: fixed;
  z-index: 0;
  width: 100%;
  height: 100%;
  top: 0;
  overflow: hidden;
}
#leafContainer > div {
  position: absolute;
  max-width: 100px;
  max-height: 100px;
  -webkit-animation-iteration-count: infinite, infinite;
  /* 1 ��ʾֻƮ��һ�� infinite Ϊ��*/
  -webkit-animation-direction: normal, normal;
  -webkit-animation-timing-function: linear, ease-in;
}
#leafContainer > div > img {
  width: 100%;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-transform-origin: 50% -100%;
}
@-webkit-keyframes fade {
  0% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes drop {
  0% {
    -webkit-transform: translate(0px, -50px);
  }
  100% {
    -webkit-transform: translate(0px, 650px);
  }
}
@-webkit-keyframes clockwiseSpin {
  0% {
    -webkit-transform: rotate(-50deg);
  }
  100% {
    -webkit-transform: rotate(50deg);
  }
}
@-webkit-keyframes counterclockwiseSpinAndFlip {
  0% {
    -webkit-transform: scale(-1, 1) rotate(50deg);
  }
  100% {
    -webkit-transform: scale(-1, 1) rotate(-50deg);
  }
}
.bannerbox {
  width: 100%;
  height: auto;
  overflow: hidden;
  vertical-align: top;
}
.bannerbox img {
  float: left;
  position: relative;
  z-index: 10;
  height: auto;
  width: 100%;
  vertical-align: inherit;
  pointer-events: none;
}
